home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / Ebooks / Thinking in C++ V2 / C07 / Borland.makefile < prev    next >
Encoding:
Makefile  |  2000-05-25  |  1.5 KB  |  65 lines

  1. # From Thinking in C++, 2nd Edition
  2. # At http://www.BruceEckel.com
  3. # (c) Bruce Eckel 1999
  4. # Copyright notice in Copyright.txt
  5. # Automatically-generated MAKEFILE 
  6. # For examples in directory C07
  7. # using the Borland compiler
  8. # Note: does not make files that will 
  9. # not compile with this compiler
  10. # Invoke with: make -f Borland.makefile
  11.  
  12. # Note: this requires the upgrade from
  13. # www.Borland.com for successful compilation!
  14. CPP = Bcc32
  15. CPPFLAGS = -w-inl -w-csu -wnak
  16. OFLAG = -e
  17. .SUFFIXES : .obj .cpp .c
  18. .cpp.obj :
  19.     $(CPP) $(CPPFLAGS) -c $<
  20. .c.obj :
  21.     $(CPP) $(CPPFLAGS) -c $<
  22.  
  23. all: \
  24.     Use.exe \
  25.     Stash3Test.exe \
  26.     UnionClass.exe \
  27.     SuperVar.exe \
  28.     MemTest.exe 
  29.  
  30. test: all 
  31.     Use.exe  
  32.     Stash3Test.exe  
  33.     UnionClass.exe  
  34.     SuperVar.exe  
  35.     MemTest.exe  
  36.  
  37. bugs: 
  38.     @echo No compiler bugs in this directory!
  39.  
  40. Use.exe: Use.obj Def.obj 
  41.     $(CPP) $(OFLAG)Use.exe Use.obj Def.obj 
  42.  
  43. Stash3Test.exe: Stash3Test.obj Stash3.obj 
  44.     $(CPP) $(OFLAG)Stash3Test.exe Stash3Test.obj Stash3.obj 
  45.  
  46. UnionClass.exe: UnionClass.obj 
  47.     $(CPP) $(OFLAG)UnionClass.exe UnionClass.obj 
  48.  
  49. SuperVar.exe: SuperVar.obj 
  50.     $(CPP) $(OFLAG)SuperVar.exe SuperVar.obj 
  51.  
  52. MemTest.exe: MemTest.obj Mem.obj 
  53.     $(CPP) $(OFLAG)MemTest.exe MemTest.obj Mem.obj 
  54.  
  55.  
  56. Def.obj: Def.cpp 
  57. Use.obj: Use.cpp 
  58. Stash3.obj: Stash3.cpp Stash3.h 
  59. Stash3Test.obj: Stash3Test.cpp Stash3.h ..\require.h 
  60. UnionClass.obj: UnionClass.cpp 
  61. SuperVar.obj: SuperVar.cpp 
  62. Mem.obj: Mem.cpp Mem.h 
  63. MemTest.obj: MemTest.cpp Mem.h 
  64.  
  65.